home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Over 1,000 Windows 95 Programs
/
Over 1000 Windows 95 Programs (Microforum) (Disc 1).iso
/
0960
/
archiver.bb2
next >
Wrap
Text File
|
1996-12-05
|
11KB
|
406 lines
21
;That first line is how many lines/record in this archiver.bb2 file...
;very important, do not change. Allows future modifications to the
;file to be transparent to older programs.
;
;ARCHIVER.BB2, archiver control file for XBBS-OS/2, XGROUP and AV
;KEEP A COPY OF THIS ORIGINAL FILE FOR INFORMATION LATER!
;
;format for this archiver.bb2 file (each entry has 21 lines):
;
; 1st line: ID of archiver (like ARC, LHARC, PKZIP, etc.; human consumption)
; 2nd line: normal extension for archives (like ZIP, ARC, LZH; note no period)
; 3rd line: offset into file to signature
; 4th line: list command
; 5th line: extract command
; 6th line: extract w/ directories command
; 7th line: test archive command
; 8th line: add/create command
; 9th line: add/create w/ paths command
;10th line: add/create & recurse command
;11th line: move command
;12th line: move w/ paths command
;13th line: delete command
;14th line: signature (case sensitive, leading spaces count!
;15th line: startlist string
;16th line: endlist string
;17th line: old size position (all positions 0-based, -1 = not available)
;18th line: new size position
;19th line: file date position
;20th line: number of positions in dates (for "03 June 92" would be 3)
;21st line: file name position (absolutely required, of course)
;
;a semicolon demarks a comment. they may appear at any point *except*
;within the 21 lines of an archiver entry. comments are ignored by AV.
;
;note that all archiver strings should include the archiver's parameter to
;prevent it from stopping for input! also note that archive types are
;checked in order of their listing in this file. finally, this file is set
;up for the archivers I had lying around; if yours are different versions,
;you may have to modify this file.
;
;--------------------------Archiver data begins-------------------------------
;Zip 2.1 and UnZip 5.2 are compression and file packaging utilities compatible
;with PKZIP 2.04g (Phil Katz ZIP). This version of zip has been ported to a
;wide array of Unix and other mainframes, minis, and micros including VMS,
;OS/2, Minix, MSDOS, Windows NT, Atari, Amiga and VM/CMS. Although highly
;compatible with PKware's PKZIP and PKUNZIP utilities of MSDOS fame, our
;primary objective has been one of portability and other-than-MSDOS
;functionality. Features not found in the PKWare version include creation of
;zip files in a pipe or on a device, VMS and OS/2 extended file attributes,
;conversion from Unix to MSDOS text file format; and, of course, the ability
;to run on most of your favorite operating systems. And it's free.
;
;See the InfoZip homepage: http://quest.jpl.nasa.gov/Info-Zip
;
Zip/UnZip 2.1/5.20
ZIP
0
UNZIP.EXE -vU
UNZIP.EXE -jCo
UNZIP.EXE -o
UNZIP.EXE -t
ZIP.EXE -j9 -@<list
ZIP.EXE -9 -@<list
ZIP.EXE -r9 -@<list
ZIP.EXE -mj9
ZIP.EXE -m9
ZIP.EXE -do
PK\x3\x4
------ ------ ---- ----- ---- ---- ------ ----
------ ------ --- -------
0
2
4
1
7
;-----------------------------------------------------------------------------
;This entry is for PKZIP 2.04g
;
;
PKZip 2.04g
ZIP
0
PKZIP.EXE -v
PKUNZIP.EXE -o
PKUNZIP.EXE -o -d
PKUNZIP.EXE -t
PKZIP.EXE -a @list
PKZIP.EXE -a -P @list
PKZIP.EXE -a -p -r @list
PKZIP.EXE -m
PKZIP.EXE -m -P
PKZIP.EXE -d
PK\x3\x4
------ ------ ----- ----- ---- ---- -------- ---- ----
------ ------ --- -------
0
2
4
2
8
;-----------------------------------------------------------------------------
;This entry is for PKZIP self-extractors type 1
;
PK(Un)Zip SE #1
2934
PKZIP.EXE -v
PKUNZIP.EXE -o
PKUNZIP.EXE -o -d
PKUNZIP.EXE -t
PKZIP.EXE -d
PK\x3\x4
------ ------ ----- ----- ---- ---- ------ ---- ----
------ ------ --- -------
0
2
4
2
8
;-----------------------------------------------------------------------------
;This entry is for PKZIP self-extractors type 2
;
PK(Un)Zip SE #2
12784
PKZIP.EXE -v
PKUNZIP.EXE -o
PKUNZIP.EXE -o -d
PKUNZIP.EXE -t
PKZIP.EXE -d
PK\x3\x4
------ ------ ----- ----- ---- ---- ------ ---- ----
------ ------ --- -------
0
2
4
2
8
;-----------------------------------------------------------------------------
;This entry is for PKZIP self-extractors type 3
;
PK(Un)Zip SE #2
30948
PKZIP.EXE -v
PKUNZIP.EXE -o
PKUNZIP.EXE -o -d
PKUNZIP.EXE -t
PKZIP.EXE -d
PK\x3\x4
------ ------ ----- ----- ---- ---- ------ ---- ----
------ ------ --- -------
0
2
4
2
8
;-----------------------------------------------------------------------------
; This entry is for LHA 2.55
;
LH 2.55
LZH
2
LHA.EXE V /o
LHA.EXE x /o
LHA.EXE x /o /s
LHA.EXE t
LHA.EXE a /o
LHA.EXE a /o /s
LHA.EXE m /o
LHA.EXE d /o
-lh
-------- -------- --- ------- -------- ------ ----- ---- ----------------
-------- -------- --- ----------------
0
1
3
1
8
;-----------------------------------------------------------------------------
;This entry is for Arj 2.50a by ARJ software
;
Arj 2.50a
ARJ
0
ARJ.EXE l
ARJ.EXE e
ARJ.EXE x
ARJ.EXE t
ARJ.EXE a -e -jm !list
ARJ.EXE a -jm !list
ARJ.EXE a -r !list
ARJ.EXE m -e
ARJ.EXE m
ARJ.EXE d
\x60\xea
------------ ---------- ---------- ----- ----------------- -------- -----------
------------ ---------- ---------- -----
1
2
4
1
0
;-----------------------------------------------------------------------------
;This entry is for ARC 5.12mpl
;
Arc 5.12mpl
ARC
0
ARC.EXE lwn
ARC.EXE ewn
ARC.EXE t
ARC.EXE awn
ARC.EXE mwn
ARC.EXE dwn
\x1a
============ ======== =========
==== ========
1
-1
2
3
0
;-----------------------------------------------------------------------------
;This entry is for ARC2 (6.0)
;Note that I don't actually have a copy of this...
;
Arc2 6.0
ARC
0
ARC.EXE l
ARC.EXE ewn
ARC.EXE t
ARC.EXE awn
ARC.EXE mwn
ARC.EXE dwn
\x1a
================= ======== =========
==== ========
1
-1
2
3
0
;-----------------------------------------------------------------------------
;This entry is for Zoo 2.1
;
;NOTE: Bug in Zoo 2.1 seems to cause files stored with paths to
;be extracted w/ paths even when you don't ask it to do so...
;
;
Zoo 2.1
ZOO
20
ZOO.EXE v
ZOO.EXE xO
ZOO.EXE xO/
ZOO.EXE -test
ZOO.Exe ah:
ZOO.EXE ah
ZOO.EXE aM:h
ZOO.EXE aMh
ZOO.EXE -delete
\xdc\xa7\xc4\xfd
-------- --- -------- --------- --------
-------- --- -------- --------- --------
0
2
3
3
5
;-----------------------------------------------------------------------------
;This entry is for RAR2 1.55
;
;Doesn't currently support Alt_F5
;
RAR 1.55
RAR
0
RAR2.EXE l -std
RAR2.EXE o
RAR2.EXE o -std -d
RAR2.EXE t -std
RAR2.EXE a -std
RAR2.EXE a -std
RAR2.EXE a -std -r
RAR2.EXE m -std
RAR2.EXE m -std
RAR2.EXE d -std
Rar!
-------------- ------- -------- ------ -------- ----- ------ -------- ---- ---
-------------- ------- -------- ------ -------- ----- ------ -------- ---- ---
1
2
4
3
0
;-----------------Archiver data ends-----------------------
;
;Notes on modifying/updating this file:
;=====================================
;
;You can add as many archivers as you like to this file.
;here are some suggestions on how to go about it:
;
;list an archive with the archiver, redirecting to a disk
;file (ex. "ARC l AFILE.ARC > TEMP."). Load the resultant
;file into a text editor. Clip out the startlist and endlist
;strings and paste directly into this file on the appropriate
;lines; prevents errors due to typos when copying manually.
;Count the positions of filename, date, etc. and place on the
;appropriate line. Now run the archiver redirected to a file
;to get its help screen (ex. "ARC > TEMP." or "ZOO h > TEMP.").
;Look for the various command options (extract, list, etc.) and
;put them into the file on the appropriate lines -- remember to
;add the modifiers to prevent the archiver from stopping to ask
;questions! You could be in deep doo-doo if it's a detached
;process. While it may seem a pain in the arse to have to
;edit this file when an archiver changes its command structure
;or list format, at least it's something within your control;
;you don't have to wait for an update to AV. That means if I
;die tomorrow you'll still be able to use AV for years to come.
;
;Here's an example of an ARC listing (5.12mpl, command "ARC l"):
;
;----------------cut here----------------------
;Name Length Date
;============ ======== ========= <--this line is start-of-list
;MAKEFILE 374 28 Nov 89
;QSORT.C 14279 29 Nov 89
;QSORT.EXE 24629 29 Nov 89
;STUFF.H 371 29 Nov 89
; ==== ======== <--this line is end-of-list
;Total 4 39653
;----------------cut here----------------------
;
;Note the filename is in position 0, old length in position 1, and the
;date starts in position 2, with 3 parts, and there's no new length
;field (so it'd be -1). Compare that to the archiver entry for
;ARC 5.12mpl above and you should get a feel for what all those fields
;mean. Here's a diagram of how a file line breaks down:
;
;STUFF.H 371 29 Nov 89
; ^ ^ ^
; | | |
; | | +--Date starts in field 2, 3 parts (29, Nov, and 89)
; | |
; | +--Old file length, field 1
; |
; +--Filename, field 0 (count from 0, not 1)
;
;
;If you're adding an entirely new archive format, note that you can
;use 'C'-style \x<hexnumber> on the signature line in this file.
;For example, the \x1a in ARC 5.12mpl's signature line means AV will
;look for an ASCII 26 (text EOF marker) in position 0 (first byte, as
;indicated by ARC's line 3, the offset into a file for the signature)
;of a file to determine if it's an archive. If line 3's offset is
;negative, AV looks from the end of the file instead of the beginning.
;You can usually figure out what an archiver's signature is by looking
;at a few archives with a file viewing program like Vernon Buerg's
;LIST. By all means send me anything new you figure out for inclusion
;in future releases.
;
;
;You can have several entries for one type of archive in this file. AV
;tries entries sequentially to list the file until it finds one that works.
;If the first entry for a signature doesn't work, and AV finds one that
;does, it moves that entry to the top of the list and rewrites ARCHIVER.BB2
;to make future accesses faster. This allows me to list everything I can
;get entries for and let AV sort out what the user actually has that works.
;It also lets you, the user, create archives with more than one archiver that
;produces the same sort of archive (or with different switches, like one with
;LHArc producing -lh5- compression and one with it producing old, compatible
;-lh1- compression).
;
;
;always end file with blank line or comment